]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
layout: Don't bother updating the regions in the greeter
authorJasper St. Pierre <jstpierre@mecheye.net>
Wed, 20 Feb 2013 02:06:33 +0000 (21:06 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Wed, 20 Feb 2013 16:36:18 +0000 (11:36 -0500)
The greeter is always full-screen, so this should never matter.

https://bugzilla.gnome.org/show_bug.cgi?id=694227

js/ui/layout.js

index f3cf728f1c6601cc80a5b7a0b77363c93d112040..f99085311cafb7904b4d1b41161c473d5ef2d84e 100644 (file)
@@ -829,6 +829,9 @@ const LayoutManager = new Lang.Class({
     },
 
     _queueUpdateRegions: function() {
+        if (Main.sessionMode.isGreeter)
+            return;
+
         if (!this._updateRegionIdle && !this._freezeUpdateCount)
             this._updateRegionIdle = Mainloop.idle_add(Lang.bind(this, this._updateRegions),
                                                        Meta.PRIORITY_BEFORE_REDRAW);